﻿using System;
using System.Data;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Insifo.BL.Seg;
using Insifo.BE.Seg;
using Insifo.BE;
[ServiceContract]
[ServiceKnownType(typeof(BEMenu))]
[ServiceKnownType(typeof(BEEntidadParam))]
[ServiceKnownType(typeof(BEEntidad))]
//[ServiceKnownType(typeof())]

public interface IWCMenu
{
    [OperationContract]
    DataSet Listar(BEMenu pbe);

    [OperationContract]
    BEMenu Obtener(BEMenu pbe);

    [OperationContract]
    BEMenu Insertar(BEMenu pbe);

    [OperationContract]
    BEMenu Actualizar(BEMenu pbe);

    [OperationContract]
    BEMenu Eliminar(BEMenu pbe);

    [OperationContract]
    DataSet ListarPorUsuario(int pinIdAplicacion, string pstrUsuario);

    [OperationContract]
    DataSet ListarPorNivel(BEMenu pbe);

    [OperationContract]
    DataSet ListarAcciones(BEMenu pbe);

    [OperationContract]
    void EliminarAcciones(BEMenu pbe);

    [OperationContract]
    BEMenu InsertarAcciones(BEMenu pbe);

    [OperationContract]
    DataSet ListarAccionesPorUsuario(BEMenu pbe);
}
